

#if defined(CONFIG_ASM_DEBUG)
#include <asm/arch/debug-macro.S>

#define S3C24X0_GPIO_BASE       0x56000000
#define GPHCON_OFFSET           0x70
#define UFCON_OFFSET            S3C2410_UFCON
#define UMCON_OFFSET            S3C2410_UMCON
#define ULCON_OFFSET            S3C2410_ULCON
#define UCON_OFFSET             S3C2410_UCON
#define UBRDIV_OFFSET           S3C2410_UBRDIV

@ uart 时钟初始化
uart_asm_init:
    ldr     r0, =S3C24X0_GPIO_BASE
    ldr     r1, =0x00faaa
    str     r1, [r0, #GPHCON_OFFSET]

    ldr     r0, =UART_CONSOLE_BASE
    mov     r1, #0x0
    str     r1, [r0, #UFCON_OFFSET]









